package cn.zooz.admin.config;


import cn.zooz.common.util.aspect.DaoTimeCostAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Created by Bradish7Y on 2017/8/25.
 */
@Configuration
@EnableAspectJAutoProxy
public class AopConfig {

    @Bean
    public DaoTimeCostAspect daoTimeCostAspect() {
        return new DaoTimeCostAspect();
    }
}
